package com.axjy.mapper;

import com.axjy.pojo.User;
import com.axjy.vo.UserDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    public List<User> search(@Param("dto") UserDto dto);


    public void update(@Param("userId") Integer userId,@Param("roleId") Integer roleId);


    public User findByNameAndPwd(@Param("name") String name,@Param("pwd") String pwd);


   public Integer del(Integer[] ids);
}
